import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './router/permission'
import store from './store'
import './assets/style/reset.css'
import './assets/style/common.scss'
import { Modal, message } from 'ant-design-vue'
import FormLoading from '@/components/FormLoading'
import moment from 'moment'
import './icons'

Vue.component('form-loading', FormLoading)

Vue.config.productionTip = false

// 全局引入ant-v 模态框的确认框
Vue.prototype.$confirm = Modal.confirm
// 全局引入ant-v 全局提示
Vue.prototype.$message = message
// 全局引入moment时间格式化
Vue.prototype.$moment = moment

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
